
            <h1>
              团购信息 
            </h1>
            <h4>
                <?php
                if($user == 'admin')
                  echo '|---- <a href="'. site_url('groupadmin/groupversionlist?group_his_id='.$group['group_his_id']) . '">返回历史版本</a> ----|';
                if($user == 'store')
                  echo '|---- <a href="'. site_url('storeadmin/groupversionlist?group_his_id='.$group['group_his_id']) . '">返回历史版本</a> ----|';
                ?>
            </h4>
            
            <?php
                if($result != "")
                    echo "<h2>";
                    echo $result;
                    echo "</h2>";
            ?>
          </div>
              
              <?php

                echo form_open();

                echo "<br/>";
                echo form_label('团购名称：','group_name');
                echo form_label($group['group_name'],'group_name');
                echo "<br/><br/>";

                echo form_label('单价（元）：','group_price');
                echo form_label($group['group_price'],'group_price');
                echo "<br/><br/>";

                // echo form_label('打印机IMEI号码','store_printer_IMEI');
                // echo "<br/>";
                // echo form_label('store_printer_IMEI',$store[0]['store_printer_IMEI']);
                // echo "<br/>";

                echo form_label('团购LOGO：','group_logo');
                //echo "<br/>";

                ?>
                <img src="<?php echo base_url($group['logo_pic']);?>" width="200" />
                <?php
                echo "<br/><br/>";
                echo form_label('简要介绍：','brief_des');
                echo form_textarea('brief_des', $group['brief_des']);
                echo "<br/><br/>";

                echo form_label('详细介绍：','detail_des');
                echo form_textarea('detail_des', $group['detail_des']);
                echo "<br/><br/>";

                echo form_label('使用说明：','use_guide');
                echo form_textarea('use_guide', $group['use_guide']);
                echo "<br/><br/>";

                echo form_label('购买截止时间：','buy_deadline');
                echo form_label($group['buy_deadline'],'buy_deadline');
                echo "<br/><br/>";

                echo form_label('使用截止时间：','use_deadline');
                echo form_label($group['use_deadline'],'use_deadline');
                echo "<br/><br/>";

                echo form_label('限购数量：','group_capacity');
                echo form_label($group['group_capacity'],'group_capacity');
                echo "<br/><br/>";

                echo form_label('限购人数：','user_capacity');
                echo form_label($group['user_capacity'],'user_capacity');
                echo "<br/><br/>";

                echo form_label('每人每次限购数量：','per_user_num');
                echo form_label($group['per_user_num'],'per_user_num');
                echo "<br/><br/>";

                echo form_label('每人限购总量：','per_user_capacity');
                echo form_label($group['per_user_capacity'],'per_user_capacity');
                echo "<br/><br/>";

                echo form_label('商家名称：','store_name');
                echo form_label($group['store_name'],'store_name');
                echo "<br/><br/>";

                echo form_label('商家电话：','store_phone');
                echo form_label($group['store_phone'],'store_phone');
                echo "<br/><br/>";

                echo form_label('商家地址：','store_addr');
                echo form_label($group['store_addr'],'store_addr');
                echo "<br/><br/>";
                
                echo form_close();
                echo "<br/><br/>";
               ?>
